@charset 'utf-8';

@mixin bo {
  border: 1px solid red;
};

$color: #336699;
$color2: #888888;


@media (max-width: 1000px) {
  header {
    width: 1000px;
  }
}

header {
  position: relative;

  height: 116px;
  background-color: #F0F3F5;
  // overflow: hidden;

  >div {
    margin: 0 auto;
    width: 1000px;
  }

  .headtop {
    height: 75px;

    .logo {
      float: left;
      width: 145px;
      height: 56px;
      background: url(../../images/page/lg_movie.png) no-repeat center;

      a {
        display: block;
        width: 145px;
        height: 56px;
      }
    }

    .search {
      position: relative;
      float: left;
      margin-left: 20px;
      margin-top: 15px;
      width: 500px;
      background-color: #fff;
      height: 33px;
      border-radius: 2px;
      input {
        border: none;
        margin-left: 20px;
        float: left;
        width: 440px;
        height: 32px;

      }

      button {
        float: right;
        border: none;
        background-color: transparent;
        outline: none;
        width: 39px;
        height: 33px;
        background: url(../../images/page/btn_search.png) no-repeat center;
      }

      button:hover {
        cursor: pointer;
      }
      ul {
        width: 463px;
        background-color: #fff;
        border-bottom: 1px solid #DDDDDD;
        position: absolute;
        top: 33px;
        z-index: 999;
        
        li {
          height: 74px;
          border: 1px solid #DDDDDD;
          border-bottom: 0;

          a {
            display: block;
          height: 74px;

            img {
              width: 41px;
              height: 58px;
              margin-top: 8px;
              margin-left: 7px;
              vertical-align: top;
            }
            div {
              float: right;
              width: 400px;
              color: $color;
              font-size: 13px;
              margin-top: 8px;
              .sp_date {
                font-size: 12px;
                color: $color2;
              }
              p {
                margin-top: 10px;
                color: $color2;
              }

            }
            
          }
          
        }
        li:hover {
          background-color: #F9F9F9;
        }
      }

    }

    .userinfo {
      width: 130px;
      // @include bo;
      height: 70px;
      float: right;
      font-size: 14px;
      font-weight: 700;
      margin-top: 6px;
      img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        vertical-align: middle;
      }
    }
  }

  .headdown {
    height: 40px;
    line-height: 40px;
    border-top: 1px solid #E3EBEC;

    ul li {
      float: left;
      font-size: 15px;
      margin: 0 15px;

      a {
        color: #2277AA;
      }

      a:hover {
        color: #fff;
        background-color: #2277AA;
      }
    }
  }
}